<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			div{
				background-color: orange;
				float: left;
				font-size: 20px;
			}
			.box1{
				line-height: 80px;
			}
			.box2{
				line-height: 4;
			}
			.box3{
				line-height: 300%;
			}
		</style>
	</head>
	<body>
		<div class="box1">文字1</div>
		<div class="box2">文字2</div>
		<div class="box3">文字3</div>
	</body>
</html>
